<template>
	<view class="tksuccess">
		<view class="container">
			<view class="content">
				<image src="@/static/images/tucg.png" mode="aspectFit"></image>
				<text>申请成功</text>
				<text>已申请成功，请耐心等待平台审核</text>
			</view>

			<view class="active-box">
				<button @click="toTab(`home/home`)">返回商城</button>
				<button @click="toNav(`order/shouhou`)">查看详情</button>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	name: 'tksuccess',
	data() {
		return {
			id:''
		};
	},
	onLoad(data) {
		console.log(data);
		this.id = data.id;
	}
};
</script>

<style lang="less" scoped>
.tksuccess {
	.container {
		overflow: hidden;
		.content {
			margin-top: 15vh;
			.flex-center-y();
			image {
				width: 327rpx;
				height: 180rpx;
			}
			text:nth-of-type(1) {
				margin-top: 80rpx;
				font-size: 40rpx;
				font-family: PingFang SC-Bold, PingFang SC;
				font-weight: bold;
				color: #000000;
			}
			text:nth-of-type(2) {
				margin-top: 4rpx;
				font-size: 24rpx;
				font-family: PingFang SC-Regular, PingFang SC;
				font-weight: 400;
				color: #000000;
			}
		}
		.active-box {
			margin-top: 180rpx;
			display: flex;
			button {
				width: 334rpx;
				height: 80rpx;
				background: #e54e4e;
				border-radius: 40rpx 40rpx 40rpx 40rpx;
				font-size: 28rpx;
				font-family: PingFang SC-Regular, PingFang SC;
				font-weight: 400;
				color: #ffffff;
			}
		}
	}
}
</style>
